package com.junlinpro.utils;

import java.util.Date;

public class DateUtil {

    public static Integer transForMilliSecond(Date date) {
        if (date == null) return null;
        return (int) (date.getTime() / 1000);
    }

}
